From 0764cf0c9c5a19f016f26479329749918eaa2051 Mon Sep 17 00:00:00 2001 From: madmurphy Date: Sun, 12 Feb 2023 16:28:12 +0000 Subject: [PATCH] Add note about widgets implementing the interface adding the `horizontal`/`vertical` CSS classes --- gtk/gtkorientable.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gtk/gtkorientable.c b/gtk/gtkorientable.c index 034cb18ffe..b86071d1d4 100644 --- a/gtk/gtkorientable.c +++ b/gtk/gtkorientable.c @@ -36,6 +36,13 @@ * * `GtkOrientable` is more flexible in that it allows the orientation to be * changed at runtime, allowing the widgets to “flip”. + * + * ## CSS nodes + * + * `GtkWidget` types implementing the `GtkOrientable` interface will + * automatically acquire the `horizontal` or `vertical` CSS class depending on + * the value of the [property@Gtk.Orientable:orientation] property. + */ -- 2.30.2